﻿// Type: D2L.Extensibility.AuthSdk.ID2LAppContext
// Assembly: D2L.Extensibility.AuthSdk, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null
// MVID: B2FBA42B-591C-474F-A782-6FF215FEDFB9
// Assembly location: C:\Users\leandro.perdizo\Desktop\D2L.Extensibility.AuthSdk.dll

using System;

namespace D2L.Extensibility.AuthSdk
{
  public interface ID2LAppContext
  {
    Uri CreateUrlForAuthentication(HostSpec authenticatingHost, Uri landingUri);

    ID2LUserContext CreateUserContext(Uri authenticationCallbackUri, HostSpec apiHost);

    ID2LUserContext CreateUserContext(string userId, string userKey, HostSpec apiHost);

    ID2LUserContext CreateUserContext(UserContextProperties savedProps);

    ID2LUserContext CreateAnonymousUserContext(HostSpec apiHost);
  }
}
